package com.lmx.repoDomain.tmodel;

import io.katharsis.resource.annotations.JsonApiResource;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 食物标签
 *
 * @author ytche
 * @date 2017年8月30日
 *
 */
@Entity
@Table(name = "tnb_food_sign")
@JsonApiResource(type = "foodSign")
public class FoodSign extends BaseEntity {
	private static final long serialVersionUID = 1L;
	private String name;
	private Integer sort;
	private Integer status;// 0禁用 1启用

	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "sort")
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
